//
//  CJHUD+CJ.h
//
//  Created by Chen_Jun on 2017/6/28.
//  Copyright © 2017年 zwu. All rights reserved.
//

#import "CJHUD.h"

typedef NS_ENUM(NSInteger, HUDType) {
    HUDTypeNull     = 0,// 没图
    HUDTypeSuccess  = 1,// 打钩图
    HUDTypeError    = 2,// 打叉图
    HUDTypeSmile    = 3,// 笑脸图
    HUDTypeCry      = 4,// 哭脸图
};

@interface CJHUD (DIY)

+ (void)showHUDText:(NSString *)text forHUDType:(HUDType)HUDType toView:(UIView *)view;
+ (void)showHUDText:(NSString *)text forHUDType:(HUDType)HUDType;

+ (CJHUD *)showMessage:(NSString *)message toView:(UIView *)view;
+ (CJHUD *)showMessage:(NSString *)message;

+ (void)hideHUDForView:(UIView *)view;
+ (void)hideHUD;

@end
